package io.datajek.spring.basics.movierecommendersystem.lesson12;

import io.datajek.spring.basics.movierecommendersystem.lesson12.Filter;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

import javax.inject.Named;

@Named
@Qualifier("CBF")
public class ContentBasedFilter implements Filter {
    public String[] getRecommendations (String movie){

        return  new String[]{"Happy Feet","Ice Age","Shark Tale"};
    }
}
